#!/bin/sh -e

./configure \
    --prefix=/usr \
    --static

make
make DESTDIR="$1" install

clman -d "$1" fossil.1
